<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@page import="castleContent.User" %>

<head>
<style>
form{
	float:left;
	text-align:center;
}
</style>
</head>
<body>
	<% User userObject = (User) session.getAttribute("Object");%>	
	<h1>Gold : <%= userObject.getGold() %>        Iron : <%= userObject.getIron() %>         Gems : <%= userObject.getLumber() %>  </h1>
	<br>
	
	<form method="POST" action="CreateSoldierServlet">
	<h5>Gold Speed</h5>
	<h5>100 Gold</h5>	
	<INPUT type="submit" value="Upgrade" />
</form>

<form method="POST" action="CreateArcherServlet">
	<h5>Iron Speed</h5>
	<h5>150 Gold</h5>
	<h5>50 Iron</h5>
	<INPUT type="submit" value="Upgrade" />
</form>

<form method="POST" action="CreateKnightServlet">
	<h5>Gems Speed</h5>
	<h5>100 Iron</h5>
	<h5>50 Gems</h5>
	<INPUT type="submit" value="Upgrade" />
</form>

	<div>
		<a href="ElvenCastle.jsp"><img src="Arrow.png" height="15%"
			width="20%" />
	</div>
	
</body>
</html>